package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Permission;

public interface PermissionService {
    public void add(Permission permission);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public Permission findById(Integer id);
    public void edit(Permission permission);
    public void delete(Integer id);
}
